package com.yl.project.lvyou.spot.domain;

import io.swagger.models.auth.In;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.framework.aspectj.lang.annotation.Excel;
import javax.persistence.*;
import com.yl.framework.web.domain.BaseEntity;

/**
 * 景区信息对象 scenic_spot
 *
 * @author yl
 * @date 2025-03-11
 */
@Table(name="scenic_spot")
public class ScenicSpot extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /** 景区名称 */
    @Excel(name = "景区名称")

    @Column(name = "name")
    private String name;
    /** 景区级别 */
    @Excel(name = "景区级别")

    @Column(name = "level")
    private String level;
    /** 景区类别 */
    @Excel(name = "景区类别")

    @Column(name = "category")
    private Integer category;

    @Column(name = "categoryName")
    private String categoryName;
    /** 景区地址 */
    @Excel(name = "景区地址")

    @Column(name = "address")
    private String address;
    /**
     * 门票数量
     */
    @Column(name = "ticket_num")
    private Long ticketNum;
    /** 门票价格 */
    @Excel(name = "门票价格")

    @Column(name = "ticket_price")
    private String ticketPrice;
    /** 景区详细介绍 */
    @Excel(name = "景区详细介绍")

    @Column(name = "introduction")
    private String introduction;
    /** 景区天气信息 */
    @Excel(name = "景区天气信息")

    @Column(name = "weather")
    private String weather;
    /** 访问量 */
    @Excel(name = "访问量")

    @Column(name = "visit_count")
    private Long visitCount;
    /** 点赞数 */
    @Excel(name = "点赞数")

    @Column(name = "like_count")
    private Long likeCount;
    /** 状态：0-下线，1-上线 */
    @Excel(name = "状态：0-下线，1-上线")

    @Column(name = "status")
    private Integer status;

    @Column(name = "file_path")
    private String filePath;
    /**
     * 景区坐标点
     */
    @Column(name = "coordinate")
    private String coordinate;

    @Column(name = "guide")
    private String guide;

    @Column(name = "spot_pic")
    private String spotPic;

    @Column(name = "is_banner")
    private Integer isBanner;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setLevel(String level)
    {
        this.level = level;
    }

    public String getLevel()
    {
        return level;
    }
    public void setCategory(Integer category)
    {
        this.category = category;
    }

    public Integer getCategory()
    {
        return category;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setTicketPrice(String ticketPrice)
    {
        this.ticketPrice = ticketPrice;
    }

    public String getTicketPrice()
    {
        return ticketPrice;
    }
    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }
    public void setWeather(String weather)
    {
        this.weather = weather;
    }

    public String getWeather()
    {
        return weather;
    }
    public void setVisitCount(Long visitCount)
    {
        this.visitCount = visitCount;
    }

    public Long getVisitCount()
    {
        return visitCount;
    }
    public void setLikeCount(Long likeCount)
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount()
    {
        return likeCount;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getGuide() {
        return guide;
    }

    public void setGuide(String guide) {
        this.guide = guide;
    }

    public Long getTicketNum() {
        return ticketNum;
    }

    public void setTicketNum(Long ticketNum) {
        this.ticketNum = ticketNum;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getSpotPic() {
        return spotPic;
    }

    public void setSpotPic(String spotPic) {
        this.spotPic = spotPic;
    }

    public Integer getIsBanner() {
        return isBanner;
    }

    public void setIsBanner(Integer isBanner) {
        this.isBanner = isBanner;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("level", getLevel())
                .append("category", getCategory())
                .append("address", getAddress())
                .append("ticketPrice", getTicketPrice())
                .append("introduction", getIntroduction())
                .append("weather", getWeather())
                .append("visitCount", getVisitCount())
                .append("likeCount", getLikeCount())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("filePath", getFilePath())
                .append("coordinate", getCoordinate())
                .append("guide", getCoordinate())
                .toString();
    }
}
